<%-- 
    Document   : view-newitem-graph
    Created on : 11 Mei 11, 11:02:45
    Author     : Bayu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
       <jsp:include page="includes/script.html"/>
       <title>New Item Graph</title>
    </head>

    <body>
        <center>
            
         <form method="get">
         
          Tahun :
          <select name="year">
          <c:forEach var="i" begin="${minYear}" end="${maxYear}">
              <c:choose>
                <c:when test="${year == i}">
                    <c:set var="select" value="selected"></c:set>
                </c:when>
                <c:otherwise>
                    <c:set var="select" value=""></c:set>
                </c:otherwise>
               </c:choose>
              
              <option value="${i}" ${select}>${i}</option>
          </c:forEach>
        </select>
          <input type="submit" value="View Report">
        </form>
        </center>
        <br>
        
        <br>
        <center> <a href="newitem-graph.png"><img src="newitem-graph.png" width="800" border="0"></a></center>
        <br>
        <center><a href="view-newitem-table.htm">View Detail (Data)</a></center>
        <br>
        <br>
    </body>
</html>

